package com.irdstudio.efp.esb.api.rest.yed.req;

import com.alibaba.fastjson.annotation.JSONField;
import com.irdstudio.basic.framework.core.annotation.NumType;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 网贷【30230002_13】（优e贷还款记录再优化查询） 请求头
 *
 * @author liangcongming :2020/11/19 14:26
 * @version 0.1
 * @date 2020/11/19 14:26
 * @since 2020/11/19 14:26
 */
@Data
public class ReqRepayRecordYedTotalBean implements Serializable {

    //产品编号
    @JSONField(name = "PdNo")
    @Length(max = 11)
    @NotNull
    @NotEmpty
    private String pdNo;
    //身份证号
    @JSONField(name = "IdCardNo")
    @Length(max = 80)
    @NotNull
    @NotEmpty
    private String idCardNo;
    //页数
    @JSONField(name = "PgNo")
    @NumType
    @Length(max = 9)
    private String pageNo;
    //页大小
    @JSONField(name = "PerPgDsplCnt")
    @NumType
    @Length(max = 9)
    private String pageSize;
    // 还款类型
    @JSONField(name = "RpymtTp")
    @Length(max = 7)
    private String setlType;
    //预留字段1
    @JSONField(name = "RsrvdFld1")
    @Length(max = 1024)
    private String rsrvdFld1;
    //预留字段2
    @JSONField(name = "RsrvdFld2")
    @Length(max = 1024)
    private String rsrvdFld2;
    //预留字段3
    @JSONField(name = "RsrvdFld3")
    @Length(max = 1024)
    private String rsrvdFld3;
    //预留字段4
    @JSONField(name = "RsrvdFld4")
    @Length(max = 1024)
    private String rsrvdFld4;
    //预留字段5
    @JSONField(name = "RsrvdFld5")
    @Length(max = 1024)
    private String rsrvdFld5;
    //预留字段6
    @JSONField(name = "RsrvdFld6")
    @Length(max = 1024)
    private String rsrvdFld6;
    //预留字段7
    @JSONField(name = "RsrvdFld7")
    @Length(max = 1024)
    private String rsrvdFld7;
    //预留字段8
    @JSONField(name = "RsrvdFld8")
    @Length(max = 1024)
    private String rsrvdFld8;
}
